package xyz.xtt.equity.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;

import xyz.xtt.equity.entity.TblAssetEntitlement;

/**
 * <p>
 * 资产权益表 服务类
 * </p>
 *
 * @author author
 * @since 2024-12-30
 */
public interface ITblAssetEntitlementService extends IService<TblAssetEntitlement> {
	/**
	 * @param id
	 * @return
	 */
	TblAssetEntitlement info(Long id);

	/**
	 * 资产下的权益
	 * 
	 * @param assetId
	 * @return
	 */
	List<TblAssetEntitlement> getAssetEntitlement(Long assetId);

	/**
	 * 校验是否有权益
	 * 
	 * @param uid
	 * @param id
	 * @return
	 */
	boolean deliverCheck(String uid, Long id);
}
